/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.hiof.moraa.server.dao;

import com.hiof.moraa.server.service.model.Feed;
import com.hiof.moraa.server.service.model.PassTargetFeed;
import java.sql.Timestamp;
import java.util.Collection;
import java.util.List;

/**
 *
 * @author Bergy
 */
public interface PassTargetDAO {

    public PassTargetFeed insertPassTargetData(int targetId, int athleteId, int supportId, Timestamp timestamp);
    public List<PassTargetFeed> getLatestPassTargetFeedOfAllAthletesInOneRoute(int routeId, int numOfFeed);

    public Collection<? extends Feed> getLatestPassTargetFeedOfOneAthleteInOneRoute(String username, int routeId, int numOfPassTargetFeed);
}
